<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:forgeview="http://jboss.org/forge/view"
	template="/resources/scaffold/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="page" value="#{sdCustContactBean.page}"/>
		<f:event type="preRenderView" listener="#{sdCustContactBean.paginate}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="Search Sd Cust Contact entities"/>

	<ui:define name="header">
		Sd Cust Contact
	</ui:define>

	<ui:define name="subheader">
		Search Sd Cust Contact entities
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:form id="search">
			<f:validateBean disabled="true">
				<h:panelGroup styleClass="search">

					<h:panelGrid columnClasses="label,component,required" columns="3">
						<h:outputLabel for="sdCustContactBeanExampleSdCust" value="Sd Cust:"/>
						<h:panelGroup>
							<h:selectOneMenu converter="#{sdCustBean.converter}" id="sdCustContactBeanExampleSdCust" value="#{sdCustContactBean.example.sdCust}">
								<f:selectItem/>
								<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{sdCustBean.all}" var="_item"/>
							</h:selectOneMenu>
							<h:message for="sdCustContactBeanExampleSdCust" styleClass="error"/>
						</h:panelGroup>
						<h:outputText/>
						<h:outputLabel for="sdCustContactBeanExampleSysTitleName" value="Sys Title Name:"/>
						<h:panelGroup>
							<h:selectOneMenu converter="#{sysTitleNameBean.converter}" id="sdCustContactBeanExampleSysTitleName" value="#{sdCustContactBean.example.sysTitleName}">
								<f:selectItem/>
								<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{sysTitleNameBean.all}" var="_item"/>
							</h:selectOneMenu>
							<h:message for="sdCustContactBeanExampleSysTitleName" styleClass="error"/>
						</h:panelGroup>
						<h:outputText/>
						<h:outputLabel for="sdCustContactBeanExampleCustContactFirstName" value="Cust Contact First Name:"/>
						<h:panelGroup>
							<h:inputText id="sdCustContactBeanExampleCustContactFirstName" maxLength="50" value="#{sdCustContactBean.example.custContactFirstName}"/>
							<h:message for="sdCustContactBeanExampleCustContactFirstName" styleClass="error"/>
						</h:panelGroup>
						<h:outputText/>
						<h:outputLabel for="sdCustContactBeanExampleCustContactMidName" value="Cust Contact Mid Name:"/>
						<h:panelGroup>
							<h:inputText id="sdCustContactBeanExampleCustContactMidName" maxLength="50" value="#{sdCustContactBean.example.custContactMidName}"/>
							<h:message for="sdCustContactBeanExampleCustContactMidName" styleClass="error"/>
						</h:panelGroup>
						<h:outputText/>
						<h:outputLabel for="sdCustContactBeanExampleCustContactLastName" value="Cust Contact Last Name:"/>
						<h:panelGroup>
							<h:inputText id="sdCustContactBeanExampleCustContactLastName" maxLength="50" value="#{sdCustContactBean.example.custContactLastName}"/>
							<h:message for="sdCustContactBeanExampleCustContactLastName" styleClass="error"/>
						</h:panelGroup>
						<h:outputText/>
					</h:panelGrid>
					<h:panelGroup styleClass="buttons">
						<h:commandLink value="Search" action="#{sdCustContactBean.search}" styleClass="btn btn-primary"/>
						<h:commandLink value="Create New" action="#{sdCustContactBean.create}" styleClass="btn btn-primary"/>
					</h:panelGroup>
				</h:panelGroup>
			</f:validateBean>
			
			<h:dataTable id="sdCustContactBeanPageItems" styleClass="data-table" value="#{sdCustContactBean.pageItems}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sd Cust"/>
					</f:facet>
					<h:link outcome="/sdCustContact/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemSdCust" value="#{forgeview:display(_item.sdCust)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sys Title Name"/>
					</f:facet>
					<h:link outcome="/sdCustContact/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemSysTitleName" value="#{forgeview:display(_item.sysTitleName)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Cust Contact First Name"/>
					</f:facet>
					<h:link outcome="/sdCustContact/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemCustContactFirstName" value="#{_item.custContactFirstName}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Cust Contact Mid Name"/>
					</f:facet>
					<h:link outcome="/sdCustContact/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemCustContactMidName" value="#{_item.custContactMidName}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Cust Contact Last Name"/>
					</f:facet>
					<h:link outcome="/sdCustContact/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemCustContactLastName" value="#{_item.custContactLastName}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<ui:include src="/resources/scaffold/paginator.xhtml">
				<ui:param name="paginatorBean" value="#{sdCustContactBean}"/>
			</ui:include>
		</h:form>
			
	</ui:define>

</ui:composition>
